package Transcation_Xml.Service;

import Transcation_Xml.Dao.AccountDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccountServiceImpl implements AccountService{
    @Autowired
    private AccountDao accountDao;
    public void transfer(String outMan, String inMan, double money) {
        accountDao.In(inMan,money);
            int i=1/0;
        accountDao.Out(outMan,money);
    }
}
